<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Report Generator:</title>
    </head>
    <h2>Report Generator:</h2>
    <body>
        <?php
        session_start();
        require_once('connectvars.php');
        if(isset($_SESSION['user_name'])){
            echo "<a href=generateRenewal.php target='_blank'>Generate Renewal Report</a>";
            echo "<a href=generateList.php target='_blank'>Generate Companies List</a>";
            echo "<a href=generateCensus.php target='_blank'>Generate Census</a>";
        }else{
            echo 'You aren\'t logged in! <br>';
            header('Refresh: 2; http://localhost:8888/PHP3/signIn.php');
            echo 'You will be transfered to Sign In page...';
        }
        ?>
    </body>
</html>
